#pragma once

#include "CXcpList.h"
#include "CUIElement.h"

class CHitTestResults
{
public: 
	CHitTestResults();
	~CHitTestResults();
	XUINT32 GetCount();
	CUIElement * First();
	HRESULT Add(CUIElement * pResult);
	HRESULT GetAnswer(XUINT32 * pCount, CUIElement * * * pppResults);

private: 
	CXcpList<CUIElement> m_oResults;
	XUINT32 m_cResults;

};


